package com.cyy.bean;

public class user {
    String name;
    String pwd;
    String email;
    String registerTime;
    String address;
    String phone;

    public user(String name, String pwd, String email, String registerTime) {
        this.name = name;
        this.pwd = pwd;
        this.email = email;
        this.registerTime = registerTime;
        this.address="未填";
        this.phone="未填";
    }

    public user(String name, String pwd, String email, String registerTime, String address, String phone) {
        this.name = name;
        this.pwd = pwd;
        this.email = email;
        this.registerTime = registerTime;
        this.address = address;
        this.phone = phone;
    }

    public user() {}

    @Override
    public String toString() {
        return "user{" +
                "name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", email='" + email + '\'' +
                ", registerTime='" + registerTime + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }
}
